// #ifndef VUE3
import Vue from 'vue'
import App from './App'
import utils from "@/utils/util.js"
import "@/utils/request/api.js"
import config from './utils/config.js' //!!
Vue.config.productionTip = false
Vue.prototype.$config = config // 定义成全局组件!!
App.mpType = 'app'
import store from './store/index.js' // 引入
Vue.prototype.$store = store // 定义成全局组件
import uView from '@/uni_modules/uview-ui'
Vue.use(uView)
uni.$u.config.unit = 'rpx'
// import uView from "./node_modules/uview-ui";
// Vue.use(uView);
const app = new Vue({
	...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
import App from './App.vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app
	}
}
// #endif